from scrapy import Selector

text = """
<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="/ningxiaweb/css/common.css">
    <link rel="stylesheet" href="/ningxiaweb/css/detail-page.css">  
    <script src="/ningxiaweb/js/jquery-1.11.0.min.js"></script>
    <title>猿人学xpath</title>
</head>
<body>
	<!-- header -->
    <div id="head" style="height:95px;"></div>
	<script type="text/javascript">
	$("#head").load("/ningxiaweb/head.html");
	</script>
	 <input type="hidden" id="unitName" value="猿人学"/>
    <div class="ewb-bg">
    	<div class="ewb-container">
    		<!-- location -->
    		<div class="ewb-location">
	    		
						<a href="/ningxiaweb/">首页</a>
						&gt; <span><a href="/ningxiaweb/002/firstlistPage.html">交易公开</a></span>
					
						&gt; <span><a href="/ningxiaweb/002/002004/listPage.html">交易项目</a></span>
					
						&gt; <span>成交公示</span>
				    
				    
			</div>
			<!--startprint-->
			<div class="ewb-main" style="min-height: 400px;width: 958px;margin-bottom:20px;">
				
						
							<div id="enddate" style="display:none;">2099-12-31 23:59:59.0</div>
							<h3 id="title" class="article-title" style="display:none;">[猿人学xpath成交公示]</h3>
	                        <h3 class="article-title">猿人学xpath成交公示</h3>
                			<div class="info-source">
	                			【信息时间：2022-02-25 08:57 】
	                			【字号 <a class="font-size" href="javascript:void(0)" onclick="changeFont('big')">大</a> <a class="font-size" href="javascript:void(0)" onclick="changeFont('normal')">中</a> <a class="font-size" href="javascript:void(0)" onclick="changeFont('small')">小</a>】
	                			<input id="inpzzId" type="hidden" value=""/>
								<input id="inplyId" type="hidden" value=""/>
								<span id="zuozheId">
								<script>
									if($("#inpzzId").val() != null && $("#inpzzId").val() != ''){
										$("#zuozheId").html('【作者：'+$("#inpzzId").val()+'】');
									}
							    </script>
							    </span>
							    <span id="laiYId">
							    <script>
									if($("#inplyId").val() != null && $("#inplyId").val() != ''){
										$("#laiYId").html('【来源：'+$("#inplyId").val()+'】');
									}
								</script>
								</span>
	                			【点击：<span id="readnum1"></span>次】
	                			【<a href="javascript:void(0)" onclick="javascript:preview();">我要打印</a>】
	                			【<a href="javascript:open(location, '_self').close();">关闭</a>】
	            			</div>
							<div id="cjspplayer" style="min-width:0;min-height:0;margin:20px auto 0px 250px;"></div>
			                <div class="epoint-article-content" id="mainContent">
			                  <title></title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<p>
<p align="center" class="MsoNormal" style="background: rgb(255, 255, 255); text-align: center; line-height: 22.5pt; mso-pagination: widow-orphan;"><b><span style="color: rgb(51, 51, 51); font-family: 宋体; font-size: 18pt; font-weight: bold; mso-spacerun: "yes"; mso-font-kerning: 0.0000pt;"><font face="宋体">成</font></span></b><b><span style="color: rgb(51, 51, 51); font-family: 微软雅黑; font-size: 18pt; font-weight: bold; mso-spacerun: "yes"; mso-font-kerning: 0.0000pt; mso-bidi-font-family: 宋体;">&nbsp;</span></b><b><span style="color: rgb(51, 51, 51); font-family: 宋体; font-size: 18pt; font-weight: bold; mso-spacerun: "yes"; mso-font-kerning: 0.0000pt;"><font face="宋体">交</font></span></b><b><span style="color: rgb(51, 51, 51); font-family: 微软雅黑; font-size: 18pt; font-weight: bold; mso-spacerun: "yes"; mso-font-kerning: 0.0000pt; mso-bidi-font-family: 宋体;">&nbsp;</span></b><b><span style="color: rgb(51, 51, 51); font-family: 宋体; font-size: 18pt; font-weight: bold; mso-spacerun: "yes"; mso-font-kerning: 0.0000pt;"><font face="宋体">公</font></span></b><b><span style="color: rgb(51, 51, 51); font-family: 微软雅黑; font-size: 18pt; font-weight: bold; mso-spacerun: "yes"; mso-font-kerning: 0.0000pt; mso-bidi-font-family: 宋体;">&nbsp;</span></b><b><span style="color: rgb(51, 51, 51); font-family: 宋体; font-size: 18pt; font-weight: bold; mso-spacerun: "yes"; mso-font-kerning: 0.0000pt;"><font face="宋体">示</font></span></b><span style="color: rgb(51, 51, 51); font-family: 微软雅黑; font-size: 18pt; mso-spacerun: "yes"; mso-font-kerning: 0.0000pt; mso-bidi-font-family: 宋体;"><o:p></o:p></span></p>
<table align="center" class="MsoNormalTable" style="width: 431.2pt; border-collapse: collapse; mso-table-layout-alt: fixed; mso-padding-alt: 0.0000pt 0.0000pt 0.0000pt 0.0000pt;">
  <tbody>
    <tr>
      <td width="285" valign="center" style="padding: 0pt 5.4pt; border: 1pt solid windowtext; border-image: none; width: 142.65pt; mso-border-left-alt: 1.0000pt solid windowtext; mso-border-right-alt: 1.0000pt solid windowtext; mso-border-top-alt: 1.0000pt solid windowtext; mso-border-bottom-alt: 1.0000pt solid windowtext;">
      <p align="center" class="MsoNormal" style="text-align: center; line-height: 21pt; mso-pagination: widow-orphan;"><span style="color: rgb(0, 0, 0); font-family: 宋体; font-size: 14pt; mso-spacerun: "yes"; mso-font-kerning: 0.0000pt;">标的编号</span><span style="font-family: 宋体; font-size: 14pt; mso-font-kerning: 0.0000pt;"><o:p></o:p></span></p>
      </td>
      <td width="577" valign="center" style="border-width: 1pt 1pt 1pt 31.875pt; border-style: solid solid solid none; border-color: windowtext windowtext windowtext rgb(255, 255, 255); padding: 0pt 5.4pt; width: 288.55pt; mso-border-left-alt: 31.8750pt none rgb(255, 255, 255); mso-border-right-alt: 1.0000pt solid windowtext; mso-border-top-alt: 1.0000pt solid windowtext; mso-border-bottom-alt: 1.0000pt solid windowtext;">
      <p align="center" class="MsoNormal" style="text-align: center; mso-pagination: widow-orphan;"><span style="font-family: 宋体; font-size: 14pt; mso-font-kerning: 0.0000pt;">NXZX-XZZL-2021-031</span></p>
      </td>
    </tr>
    <tr>
      <td width="285" valign="center" style="border-width: 31.875pt 1pt 1pt; border-style: none solid solid; border-color: rgb(255, 255, 255) windowtext windowtext; padding: 0pt 5.4pt; width: 142.65pt; mso-border-left-alt: 1.0000pt solid windowtext; mso-border-right-alt: 1.0000pt solid windowtext; mso-border-top-alt: 31.8750pt none rgb(255, 255, 255); mso-border-bottom-alt: 1.0000pt solid windowtext;">
      <p align="center" class="MsoNormal" style="text-align: center; line-height: 21pt; mso-pagination: widow-orphan;"><span style="color: rgb(0, 0, 0); font-family: 宋体; font-size: 14pt; mso-spacerun: "yes"; mso-font-kerning: 0.0000pt;">项目名称</span><span style="font-family: 宋体; font-size: 14pt; mso-font-kerning: 0.0000pt;"><o:p></o:p></span></p>
      </td>
      <td width="577" valign="center" style="border-width: 31.875pt 1pt 1pt 31.875pt; border-style: none solid solid none; border-color: rgb(255, 255, 255) windowtext windowtext rgb(255, 255, 255); padding: 0pt 5.4pt; width: 288.55pt; mso-border-left-alt: 31.8750pt none rgb(255, 255, 255); mso-border-right-alt: 1.0000pt solid windowtext; mso-border-top-alt: 31.8750pt none rgb(255, 255, 255); mso-border-bottom-alt: 1.0000pt solid windowtext;">
      <p align="center" class="MsoNormal" style="text-align: center; mso-pagination: widow-orphan;"><span style="font-family: 宋体; font-size: 14pt; mso-font-kerning: 0.0000pt;">猿人学招租项目</span></p>
      </td>
    </tr>
    <tr>
      <td width="285" valign="center" style="border-width: 31.875pt 1pt 1pt; border-style: none solid solid; border-color: rgb(255, 255, 255) windowtext windowtext; padding: 0pt 5.4pt; width: 142.65pt; mso-border-left-alt: 1.0000pt solid windowtext; mso-border-right-alt: 1.0000pt solid windowtext; mso-border-top-alt: 31.8750pt none rgb(255, 255, 255); mso-border-bottom-alt: 1.0000pt solid windowtext;">
      <p align="center" class="MsoNormal" style="text-align: center; line-height: 21pt; mso-pagination: widow-orphan;"><span style="color: rgb(0, 0, 0); font-family: 宋体; font-size: 14pt; mso-spacerun: "yes"; mso-font-kerning: 0.0000pt;">标的名称</span><span style="font-family: 宋体; font-size: 14pt; mso-font-kerning: 0.0000pt;"><o:p></o:p></span></p>
      </td>
      <td width="577" valign="center" style="border-width: 31.875pt 1pt 1pt 31.875pt; border-style: none solid solid none; border-color: rgb(255, 255, 255) windowtext windowtext rgb(255, 255, 255); padding: 0pt 5.4pt; width: 288.55pt; mso-border-left-alt: 31.8750pt none rgb(255, 255, 255); mso-border-right-alt: 1.0000pt solid windowtext; mso-border-top-alt: 31.8750pt none rgb(255, 255, 255); mso-border-bottom-alt: 1.0000pt solid windowtext;">
      <p align="center" class="MsoNormal" style="text-align: center; mso-pagination: widow-orphan;"><span style="font-family: 宋体; font-size: 14pt; mso-font-kerning: 0.0000pt;">猿人学xpath营业房</span></p>
      </td>
    </tr>
    <tr>
      <td width="285" valign="center" style="border-width: 31.875pt 1pt 1pt; border-style: none solid solid; border-color: rgb(255, 255, 255) windowtext windowtext; padding: 0pt 5.4pt; width: 142.65pt; mso-border-left-alt: 1.0000pt solid windowtext; mso-border-right-alt: 1.0000pt solid windowtext; mso-border-top-alt: 31.8750pt none rgb(255, 255, 255); mso-border-bottom-alt: 1.0000pt solid windowtext;">
      <p align="center" class="MsoNormal" style="text-align: center; line-height: 21pt; mso-pagination: widow-orphan;"><span style="color: rgb(0, 0, 0); font-family: 宋体; font-size: 14pt; mso-spacerun: "yes"; mso-font-kerning: 0.0000pt;">受让方</span><span style="font-family: 宋体; font-size: 14pt; mso-font-kerning: 0.0000pt;"><o:p></o:p></span></p>
      </td>
      <td width="577" valign="center" style="border-width: 31.875pt 1pt 1pt 31.875pt; border-style: none solid solid none; border-color: rgb(255, 255, 255) windowtext windowtext rgb(255, 255, 255); padding: 0pt 5.4pt; width: 288.55pt; mso-border-left-alt: 31.8750pt none rgb(255, 255, 255); mso-border-right-alt: 1.0000pt solid windowtext; mso-border-top-alt: 31.8750pt none rgb(255, 255, 255); mso-border-bottom-alt: 1.0000pt solid windowtext;">
      <p align="center" class="MsoNormal" style="text-align: center; mso-pagination: widow-orphan;"><span style="font-family: 宋体; font-size: 14pt; mso-font-kerning: 0.0000pt;">卞大</span></p>
      </td>
    </tr>
    <tr>
      <td width="285" valign="center" style="border-width: 31.875pt 1pt 1pt; border-style: none solid solid; border-color: rgb(255, 255, 255) windowtext windowtext; padding: 0pt 5.4pt; width: 142.65pt; mso-border-left-alt: 1.0000pt solid windowtext; mso-border-right-alt: 1.0000pt solid windowtext; mso-border-top-alt: 31.8750pt none rgb(255, 255, 255); mso-border-bottom-alt: 1.0000pt solid windowtext;">
      <p align="center" class="MsoNormal" style="text-align: center; line-height: 21pt; mso-pagination: widow-orphan;"><span style="color: rgb(0, 0, 0); font-family: 宋体; font-size: 14pt; mso-spacerun: "yes"; mso-font-kerning: 0.0000pt;">交易方式</span><span style="color: rgb(0, 0, 0); font-family: 宋体; font-size: 14pt; mso-font-kerning: 0.0000pt;"><o:p></o:p></span></p>
      </td>
      <td width="577" valign="center" style="border-width: 31.875pt 1pt 1pt 31.875pt; border-style: none solid solid none; border-color: rgb(255, 255, 255) windowtext windowtext rgb(255, 255, 255); padding: 0pt 5.4pt; width: 288.55pt; mso-border-left-alt: 31.8750pt none rgb(255, 255, 255); mso-border-right-alt: 1.0000pt solid windowtext; mso-border-top-alt: 31.8750pt none rgb(255, 255, 255); mso-border-bottom-alt: 1.0000pt solid windowtext;">
      <p align="center" class="MsoNormal" style="text-align: center; mso-pagination: widow-orphan;"><span style="font-family: 宋体; font-size: 14pt; mso-font-kerning: 0.0000pt;">网络竞价</span></p>
      </td>
    </tr>
    <tr>
      <td width="285" valign="center" style="border-width: 31.875pt 1pt 1pt; border-style: none solid solid; border-color: rgb(255, 255, 255) windowtext windowtext; padding: 0pt 5.4pt; width: 142.65pt; mso-border-left-alt: 1.0000pt solid windowtext; mso-border-right-alt: 1.0000pt solid windowtext; mso-border-top-alt: 31.8750pt none rgb(255, 255, 255); mso-border-bottom-alt: 1.0000pt solid windowtext;">
      <p align="center" class="MsoNormal" style="text-align: center; line-height: 21pt; mso-pagination: widow-orphan;"><span style="color: rgb(0, 0, 0); font-family: 宋体; font-size: 14pt; mso-spacerun: "yes"; mso-font-kerning: 0.0000pt;">评估价(或市场询价)</span><span style="font-family: 宋体; font-size: 14pt; mso-font-kerning: 0.0000pt;"><o:p></o:p></span></p>
      </td>
      <td width="577" valign="center" style="border-width: 31.875pt 1pt 1pt 31.875pt; border-style: none solid solid none; border-color: rgb(255, 255, 255) windowtext windowtext rgb(255, 255, 255); padding: 0pt 5.4pt; width: 288.55pt; mso-border-left-alt: 31.8750pt none rgb(255, 255, 255); mso-border-right-alt: 1.0000pt solid windowtext; mso-border-top-alt: 31.8750pt none rgb(255, 255, 255); mso-border-bottom-alt: 1.0000pt solid windowtext;">
      <p align="center" class="MsoNormal" style="text-align: center; mso-pagination: widow-orphan;"><span style="font-family: 宋体; font-size: 14pt; mso-font-kerning: 0.0000pt;">45916.0元</span></p>
      </td>
    </tr>
    <tr>
      <td width="285" valign="center" style="border-width: 31.875pt 1pt 1pt; border-style: none solid solid; border-color: rgb(255, 255, 255) windowtext windowtext; padding: 0pt 5.4pt; width: 142.65pt; mso-border-left-alt: 1.0000pt solid windowtext; mso-border-right-alt: 1.0000pt solid windowtext; mso-border-top-alt: 31.8750pt none rgb(255, 255, 255); mso-border-bottom-alt: 1.0000pt solid windowtext;">
      <p align="center" class="MsoNormal" style="text-align: center; line-height: 21pt; mso-pagination: widow-orphan;"><span style="color: rgb(0, 0, 0); font-family: 宋体; font-size: 14pt; mso-spacerun: "yes"; mso-font-kerning: 0.0000pt;">挂牌价</span><span style="color: rgb(0, 0, 0); font-family: 宋体; font-size: 14pt; mso-font-kerning: 0.0000pt;"><o:p></o:p></span></p>
      </td>
      <td width="577" valign="center" style="border-width: 31.875pt 1pt 1pt 31.875pt; border-style: none solid solid none; border-color: rgb(255, 255, 255) windowtext windowtext rgb(255, 255, 255); padding: 0pt 5.4pt; width: 288.55pt; mso-border-left-alt: 31.8750pt none rgb(255, 255, 255); mso-border-right-alt: 1.0000pt solid windowtext; mso-border-top-alt: 31.8750pt none rgb(255, 255, 255); mso-border-bottom-alt: 1.0000pt solid windowtext;">
      <p align="center" class="MsoNormal" style="text-align: center; mso-pagination: widow-orphan;"><span style="font-family: 宋体; font-size: 14pt; mso-font-kerning: 0.0000pt;">46000.0元</span></p>
      </td>
    </tr>
    <tr>
      <td width="285" valign="center" style="border-width: 31.875pt 1pt 1pt; border-style: none solid solid; border-color: rgb(255, 255, 255) windowtext windowtext; padding: 0pt 5.4pt; width: 142.65pt; mso-border-left-alt: 1.0000pt solid windowtext; mso-border-right-alt: 1.0000pt solid windowtext; mso-border-top-alt: 31.8750pt none rgb(255, 255, 255); mso-border-bottom-alt: 1.0000pt solid windowtext;">
      <p align="center" class="MsoNormal" style="text-align: center; line-height: 21pt; mso-pagination: widow-orphan;"><span style="color: rgb(0, 0, 0); font-family: 宋体; font-size: 14pt; mso-spacerun: "yes"; mso-font-kerning: 0.0000pt;">成交价</span><span style="font-family: 宋体; font-size: 14pt; mso-font-kerning: 0.0000pt;"><o:p></o:p></span></p>
      </td>
      <td width="577" valign="center" style="border-width: 31.875pt 1pt 1pt 31.875pt; border-style: none solid solid none; border-color: rgb(255, 255, 255) windowtext windowtext rgb(255, 255, 255); padding: 0pt 5.4pt; width: 288.55pt; mso-border-left-alt: 31.8750pt none rgb(255, 255, 255); mso-border-right-alt: 1.0000pt solid windowtext; mso-border-top-alt: 31.8750pt none rgb(255, 255, 255); mso-border-bottom-alt: 1.0000pt solid windowtext;">
      <p align="center" class="MsoNormal" style="text-align: center; mso-pagination: widow-orphan;"><span style="font-family: 宋体; font-size: 14pt; mso-font-kerning: 0.0000pt;">46000.0元</span></p>
      </td>
    </tr>
    <tr>
      <td width="285" valign="center" style="border-width: 31.875pt 1pt 1pt; border-style: none solid solid; border-color: rgb(255, 255, 255) windowtext windowtext; padding: 0pt 5.4pt; width: 142.65pt; mso-border-left-alt: 1.0000pt solid windowtext; mso-border-right-alt: 1.0000pt solid windowtext; mso-border-top-alt: 31.8750pt none rgb(255, 255, 255); mso-border-bottom-alt: 1.0000pt solid windowtext;">
      <p align="center" class="MsoNormal" style="text-align: center; line-height: 21pt; mso-pagination: widow-orphan;"><span style="color: rgb(0, 0, 0); font-family: 宋体; font-size: 14pt; mso-spacerun: "yes"; mso-font-kerning: 0.0000pt;">成交日期</span><span style="font-family: 宋体; font-size: 14pt; mso-font-kerning: 0.0000pt;"><o:p></o:p></span></p>
      </td>
      <td width="577" valign="center" style="border-width: 31.875pt 1pt 1pt 31.875pt; border-style: none solid solid none; border-color: rgb(255, 255, 255) windowtext windowtext rgb(255, 255, 255); padding: 0pt 5.4pt; width: 288.55pt; mso-border-left-alt: 31.8750pt none rgb(255, 255, 255); mso-border-right-alt: 1.0000pt solid windowtext; mso-border-top-alt: 31.8750pt none rgb(255, 255, 255); mso-border-bottom-alt: 1.0000pt solid windowtext;">
      <p align="center" class="MsoNormal" style="text-align: center; mso-pagination: widow-orphan;"><span style="font-family: 宋体; font-size: 14pt; mso-font-kerning: 0.0000pt;">2022-01-18</span></p>
      </td>
    </tr>
    <tr>
      <td width="285" valign="center" style="border-width: 31.875pt 1pt 1pt; border-style: none solid solid; border-color: rgb(255, 255, 255) windowtext windowtext; padding: 0pt 5.4pt; width: 142.65pt; mso-border-left-alt: 1.0000pt solid windowtext; mso-border-right-alt: 1.0000pt solid windowtext; mso-border-top-alt: 31.8750pt none rgb(255, 255, 255); mso-border-bottom-alt: 1.0000pt solid windowtext;">
      <p align="center" class="MsoNormal" style="text-align: center; line-height: 21pt; mso-pagination: widow-orphan;"><span style="color: rgb(0, 0, 0); font-family: 宋体; font-size: 14pt; mso-spacerun: "yes"; mso-font-kerning: 0.0000pt;">公示期</span><span style="font-family: 宋体; font-size: 14pt; mso-font-kerning: 0.0000pt;"><o:p></o:p></span></p>
      </td>
      <td width="577" valign="center" style="border-width: 31.875pt 1pt 1pt 31.875pt; border-style: none solid solid none; border-color: rgb(255, 255, 255) windowtext windowtext rgb(255, 255, 255); padding: 0pt 5.4pt; width: 288.55pt; mso-border-left-alt: 31.8750pt none rgb(255, 255, 255); mso-border-right-alt: 1.0000pt solid windowtext; mso-border-top-alt: 31.8750pt none rgb(255, 255, 255); mso-border-bottom-alt: 1.0000pt solid windowtext;">
      <p align="center" class="MsoNormal" style="text-align: center; line-height: 21pt; mso-pagination: widow-orphan;"><span style="font-family: 宋体; font-size: 14pt; mso-font-kerning: 0.0000pt;"> 2022-02-25到2022-03-04 </span></p>
      </td>
    </tr>
  </tbody>
</table>
<p class="MsoNormal"><span style="font-family: 等线; font-size: 10.5pt; mso-spacerun: "yes"; mso-font-kerning: 1.0000pt; mso-bidi-font-family: "Times New Roman";"><o:p>&nbsp;</o:p></span></p>
    </div>
</body>
</html>

</html>

"""

html = Selector(text=text)

# 标题
title = ...
# 标的编号
subject_number = ...
# 项目名称
project_name = ...
# 标的名称
subject_name = ...
# 受让人
transferee = ...
# 交易方式
transaction_mode = ...
# 评估价
evaluation_price = ...
# 挂牌价
listing_price = ...
# 成交价
transaction_price = ...
# 成交日期
deal_date = ...
# 公示期
public_period = ...
